package com.josephxu.tank.abstractfactory;

import com.josephxu.tank.Dir;
import com.josephxu.tank.Group;
import com.josephxu.tank.TankFrame;

/**
 * @Author: Joseph Xu
 * @Date: 2022/1/30 15:34
 */
public class RectFactory extends GameFactory {
    @Override
    public BaseTank createTank(int x, int y, Dir dir,Group group, TankFrame tankFrame) {
        return null;
    }

    @Override
    public BaseExplode createExplode(int x, int y, TankFrame tankFrame) {
        return new RectExplode(x,y,tankFrame);
    }

    @Override
    public BaseBullet createBullet(int x, int y, Dir dir, Group group, TankFrame tankFrame) {
        return null;
    }
}
